<template>
  <div>
    <navs title="基地预约记录" />
    <van-tabs v-model:active="active">
      <van-tab title="团队预约">
        <van-cell-group>
          <van-cell
            title="活动报名记录"
            value="预约成功"
            is-link
            size="large"
            to="/user/myBaseInfo/0"
          />
        </van-cell-group>
      </van-tab>
      <van-tab title="个人预约">
        <van-cell-group>
          <van-cell
            title="活动报名记录"
            value="预约成功"
            is-link
            size="large"
            to="/user/myBaseInfo/1"
          />
        </van-cell-group>
      </van-tab>
    </van-tabs>
  </div>
</template>

<script setup>
import { ref, reactive, getCurrentInstance, onBeforeMount } from 'vue'

const instance = getCurrentInstance()
const _this = instance.appContext.config.globalProperties
const data = reactive({
  selfList: [],
  teamList: []
})
const active = ref(0) //基地标签索引
onBeforeMount(async () => {
  // let self_res=await _this.$api.user.
})
</script>

<style scoped lang="scss"></style>
